# eric7.Plugins.VcsPlugins.vcsMercurial.HgBookmarksInOutDialog

Module implementing a dialog to show a list of incoming or outgoing bookmarks.

### Global Attributes

None

### Classes

HgBookmarksInOutDialog | Class implementing a dialog to show a list of incoming or outgoing bookmarks.
HgBookmarksInOutDialogMode | Class defining the modes of the dialog.

### Functions

None

## HgBookmarksInOutDialog

Class implementing a dialog to show a list of incoming or outgoing bookmarks.

### Derived from

QDialog, Ui_HgBookmarksInOutDialog

### Class Attributes

None

### Class Methods

None

### Methods

HgBookmarksInOutDialog | Constructor
__finish | Private slot called when the process finished or the user pressed the button.
__generateItem | Private method to generate a bookmark item in the bookmarks list.
__processOutputLine | Private method to process the lines of output.
__resizeColumns | Private method to resize the list columns.
__resort | Private method to resort the tree.
__showError | Private slot to show some error.
closeEvent | Protected slot implementing a close event handler.
on_buttonBox_clicked | Private slot called by a button of the button box clicked.
start | Public slot to start the bookmarks command.

### Static Methods

None

#### HgBookmarksInOutDialog (Constructor)

HgBookmarksInOutDialog(vcs, mode, parent=None)

Constructor

vcs (Hg)
  reference to the vcs object
mode (HgBookmarksInOutDialogMode)
  mode of the dialog
parent (QWidget)
  reference to the parent widget

Raises ValueError:
  raised to indicate an invalid dialog mode

#### HgBookmarksInOutDialog.__finish

__finish()

Private slot called when the process finished or the user pressed the button.

#### HgBookmarksInOutDialog.__generateItem

__generateItem(changeset, name)

Private method to generate a bookmark item in the bookmarks list.

changeset (str)
  changeset of the bookmark
name (str)
  name of the bookmark

#### HgBookmarksInOutDialog.__processOutputLine

__processOutputLine(line)

Private method to process the lines of output.

line (str)
  output line to be processed

#### HgBookmarksInOutDialog.__resizeColumns

__resizeColumns()

Private method to resize the list columns.

#### HgBookmarksInOutDialog.__resort

__resort()

Private method to resort the tree.

#### HgBookmarksInOutDialog.__showError

__showError(out)

Private slot to show some error.

out (str)
  error to be shown

#### HgBookmarksInOutDialog.closeEvent

closeEvent(e)

Protected slot implementing a close event handler.

e (QCloseEvent)
  close event

#### HgBookmarksInOutDialog.on_buttonBox_clicked

on_buttonBox_clicked(button)

Private slot called by a button of the button box clicked.

button (QAbstractButton)
  button that was clicked

#### HgBookmarksInOutDialog.start

start()

Public slot to start the bookmarks command.

Up

## HgBookmarksInOutDialogMode

Class defining the modes of the dialog.

### Derived from

enum.Enum

### Class Attributes

INCOMING
OUTGOING

### Class Methods

None

### Methods

None

### Static Methods

None

Up